import 'package:equatable/equatable.dart';
import 'package:meta/meta.dart';
import 'package:website.core/core/domain/utils/uuid_generator.dart';

abstract class AppNavigatorPageModel extends Equatable {
  AppNavigatorPageModel({
    required this.permittedWithAuthorization,
    required this.permittedWithoutAuthorization,
    String? pageId,
  }) : pageId = pageId ?? UuidGenerator().generateUuid();

  final String pageId;
  final bool permittedWithAuthorization;
  final bool permittedWithoutAuthorization;

  @override
  @mustCallSuper
  List<Object?> get props {
    return [
      pageId,
    ];
  }
}
